<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
		div {
			width: 100px;
			height: 100px;
			background-color: pink;
			transition: all 1s;
		}
		div:hover {
			background-color: black;
			transform: translate(30px,50px);
		}
	</style>
</head>
<body>
	<div></div>
</body>
</html>